package com.villaday.idf.model3;

public class OrderPreparePostEntity {


    /**
     * type : integer,订单类型，0：普通房源，7：预售，13：VIP升级，15：酒店
     * product : {"id":"string,产品ID","roomTypeId":"string,酒店房型ID","salePlanId":"string,酒店房型销售计划ID","type":"integer,产品类型，100：房源，99：酒店","quantity":"integer,订单产品数量，允许为空，默认为1"}
     * activity : {"id":"string,活动ID","type":"integer,订单活动类型，13：预售活动","quantity":"integer,订单产品数量"}
     * checkInDate : string,入住时间，形式：yyyy-MM-dd，展示时客户端根据需要处理成其它形式
     * checkOutDate : string,退房时间，形式：yyyy-MM-dd，展示时客户端根据需要处理成其它形式
     */

    private int type;
    private ProductBean product;
    private ActivityBean activity;
    private String checkInDate;
    private String checkOutDate;
    private boolean useWallet;


    public boolean isUseWallet() {
        return useWallet;
    }

    public void setUseWallet(boolean useWallet) {
        this.useWallet = useWallet;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public ProductBean getProduct() {
        return product;
    }

    public void setProduct(ProductBean product) {
        this.product = product;
    }

    public ActivityBean getActivity() {
        return activity;
    }

    public void setActivity(ActivityBean activity) {
        this.activity = activity;
    }

    public String getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(String checkInDate) {
        this.checkInDate = checkInDate;
    }

    public String getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(String checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

    public static class ProductBean {
        /**
         * id : string,产品ID
         * roomTypeId : string,酒店房型ID
         * salePlanId : string,酒店房型销售计划ID
         * type : integer,产品类型，100：房源，99：酒店
         * quantity : integer,订单产品数量，允许为空，默认为1
         */

        private String id;
        private String roomTypeId;
        private String salePlanId;
        private int type;
        private int quantity;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRoomTypeId() {
            return roomTypeId;
        }

        public void setRoomTypeId(String roomTypeId) {
            this.roomTypeId = roomTypeId;
        }

        public String getSalePlanId() {
            return salePlanId;
        }

        public void setSalePlanId(String salePlanId) {
            this.salePlanId = salePlanId;
        }


    }

    public static class ActivityBean {
        /**
         * id : string,活动ID
         * type : integer,订单活动类型，13：预售活动
         * quantity : integer,订单产品数量
         */

        private String id;
        private int type;
        private int quantity;

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }


    }
}
